package com.lcl.jarvis.dto;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;

import com.lcl.jarvis.util.CommonDTO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;


/**
 * <p>
 *
 * </p>
 *
 * @author licl
 * @since 2024-06-04
 */
@ApiModel(value="PersonInfoDQueryDTO", description="")
public class PersonInfoDQueryDTO extends CommonDTO implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "年龄")
    private Integer age;

    @ApiModelProperty(value = "体重/身高")
    private Double bmi;

    @ApiModelProperty(value = "职业")
    private String career;

    @ApiModelProperty(value = "主任医师")
    private String chiefPhysician;

    private String createName;

    private Date createTime;

    @ApiModelProperty(value = "学历")
    private String education;

    @ApiModelProperty(value = "初婚年龄")
    private String firstMarriageAge;

    @ApiModelProperty(value = "身高")
    private Double height;

    @ApiModelProperty(value = "臀围")
    private Double hipline;

    @ApiModelProperty(value = "家庭住址")
    private String homeAddress;

    private Integer id;

    @ApiModelProperty(value = "省份证号")
    private String idCard;

    @ApiModelProperty(value = "婚姻状况")
    private String maritalStatus;

    @ApiModelProperty(value = "民族")
    private String nation;

    @ApiModelProperty(value = "姓名")
    private String personName;

    @ApiModelProperty(value = "电话")
    private String phone;

    @ApiModelProperty(value = "预约时间")
    private Date preTime;

    @ApiModelProperty(value = "筛查id")
    private String queryId;

    @ApiModelProperty(value = "筛查单位")
    private String queryUnit;

    @ApiModelProperty(value = "复核医师")
    private String recheckPhysician;

    @ApiModelProperty(value = "性别")
    private String sex;

    private Date updateTime;

    @ApiModelProperty(value = "腰围")
    private Double waistline;

    @ApiModelProperty(value = "体重")
    private Double weight;


    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    public Double getBmi() {
        return bmi;
    }

    public void setBmi(Double bmi) {
        this.bmi = bmi;
    }

    public String getCareer() {
        return career;
    }

    public void setCareer(String career) {
        this.career = career;
    }

    public String getChiefPhysician() {
        return chiefPhysician;
    }

    public void setChiefPhysician(String chiefPhysician) {
        this.chiefPhysician = chiefPhysician;
    }

    public String getCreateName() {
        return createName;
    }

    public void setCreateName(String createName) {
        this.createName = createName;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Long createTime) {
        this.createTime = createTime != null ? new Date(createTime) : null;
    }

    public String getEducation() {
        return education;
    }

    public void setEducation(String education) {
        this.education = education;
    }

    public String getFirstMarriageAge() {
        return firstMarriageAge;
    }

    public void setFirstMarriageAge(String firstMarriageAge) {
        this.firstMarriageAge = firstMarriageAge;
    }

    public Double getHeight() {
        return height;
    }

    public void setHeight(Double height) {
        this.height = height;
    }

    public Double getHipline() {
        return hipline;
    }

    public void setHipline(Double hipline) {
        this.hipline = hipline;
    }

    public String getHomeAddress() {
        return homeAddress;
    }

    public void setHomeAddress(String homeAddress) {
        this.homeAddress = homeAddress;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getIdCard() {
        return idCard;
    }

    public void setIdCard(String idCard) {
        this.idCard = idCard;
    }

    public String getMaritalStatus() {
        return maritalStatus;
    }

    public void setMaritalStatus(String maritalStatus) {
        this.maritalStatus = maritalStatus;
    }

    public String getNation() {
        return nation;
    }

    public void setNation(String nation) {
        this.nation = nation;
    }

    public String getPersonName() {
        return personName;
    }

    public void setPersonName(String personName) {
        this.personName = personName;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public Date getPreTime() {
        return preTime;
    }

    public void setPreTime(Long preTime) {
        this.preTime = preTime != null ? new Date(preTime) : null;
    }

    public String getQueryId() {
        return queryId;
    }

    public void setQueryId(String queryId) {
        this.queryId = queryId;
    }

    public String getQueryUnit() {
        return queryUnit;
    }

    public void setQueryUnit(String queryUnit) {
        this.queryUnit = queryUnit;
    }

    public String getRecheckPhysician() {
        return recheckPhysician;
    }

    public void setRecheckPhysician(String recheckPhysician) {
        this.recheckPhysician = recheckPhysician;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Long updateTime) {
        this.updateTime = updateTime != null ? new Date(updateTime) : null;
    }

    public Double getWaistline() {
        return waistline;
    }

    public void setWaistline(Double waistline) {
        this.waistline = waistline;
    }

    public Double getWeight() {
        return weight;
    }

    public void setWeight(Double weight) {
        this.weight = weight;
    }


    @Override
    public String toString() {
        return "PersonInfoD{" +
        "age=" + age +
        ", bmi=" + bmi +
        ", career=" + career +
        ", chiefPhysician=" + chiefPhysician +
        ", createName=" + createName +
        ", createTime=" + createTime +
        ", education=" + education +
        ", firstMarriageAge=" + firstMarriageAge +
        ", height=" + height +
        ", hipline=" + hipline +
        ", homeAddress=" + homeAddress +
        ", id=" + id +
        ", idCard=" + idCard +
        ", maritalStatus=" + maritalStatus +
        ", nation=" + nation +
        ", personName=" + personName +
        ", phone=" + phone +
        ", preTime=" + preTime +
        ", queryId=" + queryId +
        ", queryUnit=" + queryUnit +
        ", recheckPhysician=" + recheckPhysician +
        ", sex=" + sex +
        ", updateTime=" + updateTime +
        ", waistline=" + waistline +
        ", weight=" + weight +
        ", age=" + age +
        ", bmi=" + bmi +
        ", career=" + career +
        ", chiefPhysician=" + chiefPhysician +
        ", createName=" + createName +
        ", createTime=" + createTime +
        ", education=" + education +
        ", firstMarriageAge=" + firstMarriageAge +
        ", height=" + height +
        ", hipline=" + hipline +
        ", homeAddress=" + homeAddress +
        ", id=" + id +
        ", idCard=" + idCard +
        ", maritalStatus=" + maritalStatus +
        ", nation=" + nation +
        ", personName=" + personName +
        ", phone=" + phone +
        ", preTime=" + preTime +
        ", queryId=" + queryId +
        ", queryUnit=" + queryUnit +
        ", recheckPhysician=" + recheckPhysician +
        ", sex=" + sex +
        ", updateTime=" + updateTime +
        ", waistline=" + waistline +
        ", weight=" + weight +
        "}";
    }
}
